DomainObjects Class Library |
|
Query.GetCount Method (Criteria, Field, Boolean)
Returns the number of rows where the given field evaluates to a non-null field. Translates to a COUNT([DISTINCT] field)
query in SQL.
Parameters
-
criteria
- The criteria for the query.
-
field
- The database value to evaluate for non-null values.
-
distinct
- If true, then duplicate database values will not be counted.
See Also
Query Class | DomainObjects.Facade.Command Namespace | Query.GetCount Overload List